<!DOCTYPE html>
<html>
<head>
<include file="Include:meta" />
<title>查看联系人-目的地运营集团数据管理平台</title>
<include file="Include:style" />
<link rel="stylesheet" href="__PUBLIC__/mobile/css/mobiscroll.min.css">
<link rel="stylesheet" href="__PUBLIC__/mobile/css/mui.picker.css">
</head>
<body>
<div class="header">
	<a href="__APP__/Mobile/Crm/project_list" class="back_btn"></a>
	查看联系人
	<a href="javascript:;" class="header_txt_btn add_btn_new"></a>
	<a class="menu_btn_new" href="javascript:;"><span class="sp1"></span><span class="sp2"></span><span class="sp3"></span></a>
</div>
<include file="Include:crm_commu_menu" />
<div class="pro_det">
	<div class="pro_det_title">
        <img class="det_bg" src="__PUBLIC__/mobile/images/project/det_bg.jpg">
        <div class="txt">
            <h3>[{$project['project_num']}]</h3>
            <p>{$project['name']}</p>
        </div>
    </div>
	<div class="form_item">
		<div class="form_table all pb15">
			<table cellspacing="0">
				<if condition="$result eq NULL">
					<div class="no_data_list">
						暂无相关数据
					</div>
				</if>
				<foreach name="result" item="vo">
				<tr style="background-color:#FFB90F">
					<td class="form_table_left"><font color="white">联系人</font></td>
					<td class="form_table_right fz14"><font color="white">{$vo['username']}</font></td>
				</tr>
				<tr>
					<td class="form_table_left">性别</td>
					<td class="form_table_right fz14">{$gender[$vo['gender']]}</td>
				</tr>
				<tr>
					<td class="form_table_left">手机</td>
					<td class="form_table_right fz14">{$vo['mobilephone']}</td>
					<!-- <td class="form_table_right fz14"><a href="tel:{$vo['mobilephone']}">{$vo['mobilephone']}</a></td> -->
				</tr>
				<tr>
					<td class="form_table_left">座机</td>
					<td class="form_table_right fz14">{$vo['telephone']}</td>
				</tr>
				<tr>
					<td class="form_table_left">职位</td>
					<td class="form_table_right fz14">{$vo['job']}</td>
				</tr>
				<tr>
					<td class="form_table_left">级别</td>
					<td class="form_table_right fz14"><if condition="$vo['job_level'] neq 0">{$job_level[$vo['job_level']]['name']}</if></td>
				</tr>
				<tr>
					<td class="form_table_left">决策关系</td>
					<td class="form_table_right fz14"><if condition="$vo['decision_relation'] neq 0">{$relation[$vo['decision_relation']]['name']}</if></td>
				</tr>
				</foreach>
			</table>
		</div>
	</div>
</div>
<!-- 弹出框 -->
<div class="card_fix">
    <div class="tit"><a class="back_btn" href="javascript:;"></a>添加客户</div>
    <div class="modal_body">

    </div>
</div>
<include file="Include:javascript" />
<script src="__PUBLIC__/mobile/js/mui.min.js"></script>
<script src="__PUBLIC__/mobile/js/mui.picker.min.js"></script>
<script src="__PUBLIC__/mobile/js/data.city.js"></script>
<script>
    $(function(){
        menu_new();
		//新增
		$(".add_btn_new").click(function (){
			$('.card_fix').fadeIn().find('.modal_body').load("__APP__/Mobile/Crm/project_contact_add/project_id/{$project['project_id']}");
            $('.card_fix').fadeIn().find('.tit').html('<a class="back_btn" href="javascript:;"></a>添加客户')
		});
	})
</script>
</body>
</html>